<?php

class Tag{

	public $att = array();
	public $node;
	
	public function init(){}
	
	public function draw(){}
	
	protected function montaAtt(){
		$r = '';
		foreach($this->att as $att => $value)
			$r .= ' '.$att.'="'.htmlentities($value, ENT_QUOTES).'"';
		return $r;
	}
	
}

?>